package no.sachmuld.methodcombination.examples.behaviourchain.equalshashcode.v1;


/**
 *
 */
public class Main implements Runnable {

    @Override
    public void run() {

        Point3D point1 = new Point3D(1, 2, 3);
        Point3D point2 = new Point3D(1, 2, 3);
        Point3D point3 = new Point3D(1, 2, 4);
        Point2D point4 = new Point2D(1, 2);

        System.out.println(point1.equals(point2));
        System.out.println(point1.equals(point3));
        System.out.println(point1.equals(point4));
        System.out.println(point4.equals(point1));
        System.out.println(point1.hashCode());

    }

    public static void main(String... args) {

        new Main().run();

    }
}
